package com.bean.timer;


import java.awt.AWTEvent;
import java.io.Serializable;
import java.util.EventObject;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author sammael
 */
public class TimerEvent extends EventObject implements Serializable{
    private int tickNumber = 0;
    private long remainingTime = 0;
    private Object source;

    public TimerEvent(Object source) {
        super(source);
    }
    
    public int getTickNumber(){
        return tickNumber;
    }
    
    public void setTickNumber(int tickNumber){
        this.tickNumber = tickNumber;
    }
    
    public long getRemainingTime(){
        return remainingTime;
    }
    
    public void setRemainingTime(long remaining){
        this.remainingTime = remaining;
    }
    
    public Object getSource(){
        return source;
    }
}
